using System;

namespace Deepcode.Flux.Core.Systems.Workflow.Info
{
	/// <summary>
	/// Describes a workflow UI method exposed from a workflow handler
	/// </summary>
	public class WorkflowUIMethodInfo
	{
		#region Private Fields
		private string methodName = "";
		private string friendlyName = "";
		#endregion
		#region Properties
		/// <summary>
		/// Get/Set the C# method name
		/// </summary>
		public string MethodName{ get{ return methodName; } set{ methodName = value; }}
		/// <summary>
		/// Get/Set the friendly name of the method
		/// </summary>
		public string FriendlyName{ get{ return friendlyName; } set{ friendlyName = value; }}
		#endregion
		/// <summary>
		/// Create a WorkflowUIMethodInfo object
		/// </summary>
		/// <param name="sMethodName"></param>
		/// <param name="sFriendlyName"></param>
		public WorkflowUIMethodInfo( string sMethodName, string sFriendlyName )
		{
			methodName = sMethodName;
			friendlyName = sFriendlyName;
		}
	}
	/// <summary>
	/// Implements an arraylist derived collection of WorkflowUIMethodInfo objects
	/// </summary>
	public class WorkflowUIMethodInfos : System.Collections.ArrayList
	{
	}
}
